<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>

    <style>
      * {
        margin: 0;
        padding: 0;
      }
      body{
        height: 1000px;
      }
      .s1 {
        width: 100px;
        height: 100px;
        background-color: aquamarine;
        overflow: hidden;
      }
      .s2 {

        width: 100px;
        height: 100px;
        background-color: khaki;
      }
      .s3 {
        width: 100px;
        height: 100px;
        background-color: violet;
      }
      .d1{
        background-color: cyan;
        height: 100px;
        margin-top: 100px;
      }
    </style>
  </head>
  <body>
    <!-- 
        div标签
            常用的块级盒子标签
            作用：划分区域，规划布局
            默认纵向排列，占一整行
        span标签
            独立文本修饰标签，行内元素（不能设置宽高）
            一般只放文本信息
            默认横向排列
        a 超链接标签
            作用：1.不同页面之间的跳转 2.相同页面内不同区域的跳转（锚点）
            <a href="" title="" target="">文本/图片</a>
            1.href 跳转地点
                网站域名
                html文件
                锚点
            2.title 
                当鼠标悬浮时的提示性文本
            3.target 打开方式
                _self 当前窗口
                _blank 新建窗口
        注：超链接标签默认文本颜色为蓝色，点击变成紫色

     -->
  </body>
  <div>
    <span class="s1"
      >Lorem ipsum dolor sit amet consectetu 
      accusantium a perspiciatis, repudiandae ea iusto. Consequatur quod 
      aliquid vel commodi nulla rem! Architecto libero repellat sequi dolori
      busrerum.</span
    >
    <span class="s2">
      Lorem ipsum dolor sit amet consectetur adipisicing elit. Repudiandae, ab
      illum hic autem officiis iusto dolor repellendus tempore error ratione
      debitis nisi repellat quibusdam numquam nostrum temporibus delectus
      quidem! Ipsam.</span
    >
    <span class="s3"
      >Lorem ipsum dolor sit amet consectetur adipisicing elit. Accusantium, quo
      exercitationem ex voluptatibus molestias dolorum cupiditate incidunt nobis
      nulla iusto impedit odit eaque quaerat suscipit commodi sapiente dicta
      iste itaque?</span
    >
  </div>

  <div class="d1" id="m1">div占一整行</div>
  <a href="#m1">锚点1，跳转至div</a>
  <a href="https://www.baidu.com/">锚点2，跳转至百度</a>
</html>
